#include <iostream>
#include <string>
#include "PollServer.hpp"

int main(int argc,char* argv[])
{
    if(argc!=2)
    {
        std::cout<<"Usage:./server port"<<std::endl;
        return 0;
    }
    uint16_t port=std::stoi(argv[1]);
    PollServer server(port);
    server.Loop();
    return 0;
}